# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         test02
# Description:  例11.2
# Author:       ASUS
# Date:         2019/3/25
#-------------------------------------------------------------------------------


import re
m = re.match("python","i like python")
if m is not None:
    print(m.group())
print(m)

m = re.search("python","i like python")
if m is not None:
    print(m.group())
print(m)


